uni.$showMsg=function(title='获取数据失败',duration=2000,icon='error'){
  uni.showToast({
    title,
    duration,
    icon
  });
}